#include <stdio.h>
#include "sequeue.h"

int main(int argc, char const *argv[])
{
    sequeue * sq;
    sq = queue_create(10);
    if (sq  == NULL) return -1;
    printf("%p\n", sq);

    enqueue(sq, 10);
    enqueue(sq, 100);
    enqueue(sq, 1000);

    while (!queue_empty(sq))
    {
        printf("dequeue:%d\n", dequeue(sq));
    }
    
    queue_free(sq);
    return 0;
}
